Skip to content

chore: downgrade all info! logs to debug! - #3013

Open
mmustafasenoglu wants to merge 5 commits into
quickwit-oss:mainfrom
mmustafasenoglu:debug-log-level
Open

chore: downgrade all info! logs to debug!#3013
mmustafasenoglu wants to merge 5 commits into
quickwit-oss:mainfrom
mmustafasenoglu:debug-log-level

Conversation

@mmustafasenoglu

Copy link
Copy Markdown

As discussed in #3004, tantivy as a library should not emit info-level logs by default. All info! calls are converted to debug! across 5 files:

  • src/directory/managed_directory.rs — Garbage collect + file deletion logs
  • src/directory/mmap_directory/file_watcher.rs — Meta file modification log
  • src/indexer/index_writer.rs — Buffer flush, rollback, commit logs
  • src/indexer/prepared_commit.rs — Commit log
  • src/indexer/segment_updater.rs — Save metas, garbage collection, merge logs

As noted by @nwin in #3004, index creation/opening events could remain at info level in the future, but those are not currently logged so all existing info! calls are safe to downgrade.

Closes #3004

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tantivy is too chatty (most info! should be debug!)

1 participant